package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.Area;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AreaMapper extends BaseMapper<Area> {
    List<Area> selectProvince(@Param("cid") Integer cid);//查询所有省份

    String selectCityNameById(@Param("id") Integer id);
}
